package com.supper.star.evaluate;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author yjq
 */
@SpringBootApplication
@MapperScan(value = "com.supper.star.evaluate.dao.**")
@EnableScheduling
@EnableTransactionManagement
public class EvaluateApplication {

    private static final Logger logger = LoggerFactory.getLogger(EvaluateApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(EvaluateApplication.class, args);
        logger.info("http://127.0.0.1/swagger-ui.html");
        logger.info("启动完成");
    }
}
